package com.qianyucc.blog.model.dto;

import lombok.*;

import javax.validation.constraints.*;

/**
 * @author lijing
 * @date 2019-10-17 16:52
 * @description 前端传递的留言信息
 */
@Data
public class MessageDTO {
    @NotNull(message = "评论者不能为空")
    private String creatorId;
    @NotBlank(message = "评论内容不能为空")
    private String content;
}
